package com.jy.rhin.model.body.shoushucaozuo;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/***
 * 接种信息
 */
@Data
public class JieZhongXX {
    //接种时间
    @XPath(path = "/effectiveTime/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_145_00))
    String jieZhongSJ;
    //接种剂次
    @XPath(path = "/priorityCode/originalText/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_053_00))
    String jieZhongJC;
    //接种部位
    @XPath(path = "/targetSiteCode/originalText/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_052_00))
    String jieZhongBW;
    //接种医生编号
    @XPath(path = "/performer/assignedEntity/id/@extension"
            , xValid = @XValid(type = "node"))
    String jieZhongYSDM;
    //接种医生姓名
    @XPath(path = "/performer/assignedEntity/assignedPerson/name/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_039_00))
    String jieZhongYSXM;
    //接种机构id
    @XPath(path = "/performer/assignedEntity/representedOrganization/id/@extension"
            , xValid = @XValid(type = "node"))
    String jieZhongJGID;
    //接种机构名称
    @XPath(path = "/performer/assignedEntity/representedOrganization/name/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_50_015_00))
    String jieZhongJGMC;
    //疫苗批号
    @XPath(path = "/entryRelationship/substanceAdministration/consumable/manufacturedProduct/id/@extension"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_50_017_00))
    String yiMiaoPH;
    //疫苗名称
    @XPath(path = "/entryRelationship/substanceAdministration/consumable/manufacturedProduct/manufacturedLabeledDrug/code"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_50_004_00))
    CodeObject yiMiaoMC;
    //疫苗生产厂商编号
    @XPath(path = "/entryRelationship/substanceAdministration/consumable/manufacturedProduct/manufacturerOrganization/id/@extension"
            , xValid = @XValid(type = "node"))
    String yiMiaoSCCSBH;
    //疫苗生产厂商名称
    @XPath(path = "/entryRelationship/substanceAdministration/consumable/manufacturedProduct/manufacturerOrganization/name/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_10_042_00))
    String yiMiaoSCCSMC;
}
